const mongoose = require('mongoose')
const Schema = mongoose.Schema

const blogTypeCollection = new Schema({
    name : { type: String, required: true },
    articleCount : { type: Number, required: true },
    order : { type: Number, required: true },
},{
  toJSON: { virtuals: true, getters: true },
});
const BlogType = mongoose.model('BlogType', blogTypeCollection)

module.exports = BlogType